<template>
    <div>
    <header class="title_header">
      <el-button type="primary" @click="showAdd">新增标题</el-button>
    </header>
    <Add :state="state" @cancle="cancle" @success="success"></Add>    <!-- 增加 -->
    <Edit :state="state" @cancle="cancle"></Edit>  <!-- 编辑 -->
    <el-table
    :data="tableData"
    style="width: 100%"
    :default-sort = "{prop: 'date', order: 'descending'}"
    >
  </el-table>
  </div>
</template>

<script>
export default {

}
</script>

<style>

</style>